asp .net core 3 mvc select with default value

54

asp .net core 3 mvc select with default value -

<select asp-for="Category" asp-items="@ViewBag.Category"  class="form-control">
        <option disabled selected>--- SELECT ---</option>
    </select>

asp .net core 3 mvc select with default value -

<select asp-for="Category" asp-items="@ViewBag.Category"  class="form-control">
    <option disabled selected>--- SELECT ---</option>
</select>

Comments

Submit
0 Comments